package io.wdb.modules.activity.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.activity.wx.dao.MarketUserSubscribeInfoDao;
import io.wdb.modules.activity.wx.entity.MarketUserSubscribeInfoEntity;
import io.wdb.modules.activity.wx.service.MarketUserSubscribeInfoService;

import java.util.List;
import java.util.Map;



@Service("marketUserSubscribeInfoService")
public class MarketUserSubscribeInfoServiceImpl implements MarketUserSubscribeInfoService {
	@Autowired
	private MarketUserSubscribeInfoDao marketUserSubscribeInfoDao;
	
	@Override
	public MarketUserSubscribeInfoEntity queryObject(Long id){
		return marketUserSubscribeInfoDao.queryObject(id);
	}
	
	@Override
	public List<MarketUserSubscribeInfoEntity> queryList(Map<String, Object> map){
		return marketUserSubscribeInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return marketUserSubscribeInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(MarketUserSubscribeInfoEntity marketUserSubscribeInfo){
		marketUserSubscribeInfoDao.save(marketUserSubscribeInfo);
	}
	
	@Override
	public void update(MarketUserSubscribeInfoEntity marketUserSubscribeInfo){
		marketUserSubscribeInfoDao.update(marketUserSubscribeInfo);
	}
	
	@Override
	public void delete(Long id){
		marketUserSubscribeInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		marketUserSubscribeInfoDao.deleteBatch(ids);
	}
	
}
